<h1>Företagssida</h1>

<ul>

<?php
    echo "<script>alert('Information updated')</script>";
?>

<?php

    $ages[0]['age'] = "32";
    $ages[0]['name'] = "peter";
    $ages[1]['age'] = "12";
    $ages[1]['name'] = "Jesper";
    $ages[2]['age'] = "28";
    $ages[2]['name'] = "Mats-Erik";


            $length = count($ages);
                for ($i=0; $i<=$length-1; $i++)
            {
                echo $ages[$i]['name'] . "<br />";
                echo $ages[$i]['age'] . "<br />";
            }

?>
</ul>